<div id="background" style="background-color: #F0F0F0; height: 500px; max-width: 600px; padding-top: 10px; padding-left: 10px ">
<div id="targetElement" style="background: url(/Content/images/doc/16_1/PhoneJS/menus/cherry.png); background-size:contain; height: 300px; width: 200px; margin-bottom: 200px;">
</div>
<div data-bind="dxContextMenu: {
    items: menuItems,
    target: '#targetElement',
    onItemClick: itemClicked,
    showSubmenuMode: 'onclick'
}"></div>
</div>